package map.core.util;

import org.geotools.api.referencing.crs.CoordinateReferenceSystem;
import org.geotools.api.style.StyleFactory;
import org.geotools.factory.CommonFactoryFinder;
import org.geotools.referencing.CRS;


public class MapHelper {
    static StyleFactory sf = CommonFactoryFinder.getStyleFactory();
   public final   static CoordinateReferenceSystem CRS_4326;


    static {
        try {
           // CRS_4326 = CRS.parseWKT("GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]]");
            CRS_4326 = CRS.decode("epsg:4326",true);
            //System.out.println(CRS_4326);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }


}
